<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>

	</head>
	
	<body>	
	<h6><kbd> 修改图片信息  </kbd></h6>
			<form action="{:U(MODULE_NAME.'/Photos/imageEditHandle')}" class="has-success alert alert-info" method="post">
				<input type="hidden" name="id" value="{$photo.id}">
				<label for="title" >图片名称</label>
				<input type="text" name="name" value="{$photo.name}" required class="form-control" placeholder="请输入图片名称" />
				<label for="href" >图片描述</label>
				<textarea name="description" class="form-control" >{$photo.description}</textarea>
			<br />
					<input type="submit" class="btn btn-sm btn-danger" value="保存图片信息" />
					
					<input type="submit" class="btn btn-sm btn-info" formnovalidate formaction="{:U('Photos/index')}" value="返 回" />
			</form>
			
			
			<label for="title" >图片</label><br />
			
			<img width="300" src="__IMGS__/photo_images/{$photo.photosort_id}/{$photo.filename}" alt="{$photo.filename}"/>		
	</body>		

</html>
